﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Share/Site.Master" Inherits="System.Web.Mvc.ViewPage<EnglishUI.Models.tbl_user>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<h2>Create</h2>

<% using (Html.BeginForm()) { %>
    <%: Html.ValidationSummary(true) %>

    <fieldset>
        <legend>tbl_user</legend>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Username) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Username) %>
            <%: Html.ValidationMessageFor(model => model.Username) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.FullName) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.FullName) %>
            <%: Html.ValidationMessageFor(model => model.FullName) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Email) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Email) %>
            <%: Html.ValidationMessageFor(model => model.Email) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Password) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Password) %>
            <%: Html.ValidationMessageFor(model => model.Password) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Zipcode) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Zipcode) %>
            <%: Html.ValidationMessageFor(model => model.Zipcode) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.FacebookID) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.FacebookID) %>
            <%: Html.ValidationMessageFor(model => model.FacebookID) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.FaceName) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.FaceName) %>
            <%: Html.ValidationMessageFor(model => model.FaceName) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Birthday) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Birthday) %>
            <%: Html.ValidationMessageFor(model => model.Birthday) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Gender) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Gender) %>
            <%: Html.ValidationMessageFor(model => model.Gender) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Avatar) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Avatar) %>
            <%: Html.ValidationMessageFor(model => model.Avatar) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.IdCountry, "tb_Location") %>
        </div>
        <div class="editor-field">
            <%: Html.DropDownList("IdCountry", String.Empty) %>
            <%: Html.ValidationMessageFor(model => model.IdCountry) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Address) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Address) %>
            <%: Html.ValidationMessageFor(model => model.Address) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.Etoken) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.Etoken) %>
            <%: Html.ValidationMessageFor(model => model.Etoken) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.favourite) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.favourite) %>
            <%: Html.ValidationMessageFor(model => model.favourite) %>
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
<% } %>

<div>
    <%: Html.ActionLink("Back to List", "Index") %>
</div>

</asp:Content>
